package com.cx.thread.message;

/**
 * @author zhangshuai
 * @version V1.0
 * @Project Java2_26
 * @Package com.cx.thread.message
 * @Description:
 * @Date 2025/5/26 16:47
 */

public class CustomThread extends Thread{

    private Custom custom;

    public CustomThread(Custom custom){
        this.custom = custom;
    }

    @Override
    public void run(){
        custom.custom();
    }
}